export const routesData = [
  {
    "path": "/sites",
    "component": "Layout",
    "redirect": "/sites/site/index",
    'name': '',
    "meta": {
      "hidden": false,
      "alwaysShow": false,
      "roles": ["ADMIN"],
      "keepAlive": true
    }, "children": [
      {
        "path": "site",
        "component": "sites/site/index",
        "name": "sites",
        "meta": {
          "title": "站点管理",
          "icon": "system",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
    ]
  },
  {
    "path": "/system",
    "component": "Layout",
    "redirect": "/system/user",
    'name': 'system',
    "meta": {
      "title": "系统管理",
      "icon": "system",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "user",
        "component": "system/user/index",
        "name": "user",
        "meta": {
          "title": "用户管理",
          "icon": "user",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "role",
        "component": "system/role/index",
        "name": "role",

        "meta": {
          "title": "角色管理",
          "icon": "role",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "cmenu",
        "component": "system/menu/index",
        "name": "cmenu",

        "meta": {
          "title": "菜单管理",
          "icon": "menu",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "dept",
        "component": "system/dept/index",
        "name": "dept",

        "meta": {
          "title": "部门管理",
          "icon": "tree",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "dict",
        "component": "system/dict/index",
        "name": "dict",

        "meta": {
          "title": "字典管理",
          "icon": "dict",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "client",
        "component": "system/client/index",
        "name": "client",

        "meta": {
          "title": "客户端管理",
          "icon": "client",
          "hidden": false,
          "alwaysShow": false,
          "roles": [],
          "keepAlive": true
        }
      }
    ]
  },
  {
    "path": "/pms",
    "component": "Layout",
    "redirect": "/pms/goods",
    'name': 'pms',
    "meta": {
      "title": "商品管理",
      "icon": "goods",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "goods",
        "component": "pms/goods/index",
        "name": "goods",
        "meta": {
          "title": "商品列表",
          "icon": "goods-list",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "goods-detail",
        "component": "pms/goods/detail",
        "name": "goods-detail",
        "meta": {
          "title": "商品上架",
          "icon": "publish",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "category",
        "component": "pms/category/index",
        "name": "category",
        "meta": {
          "title": "商品分类",
          "icon": "menu",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "brand",
        "component": "pms/brand/index",
        "name": "brand",
        "meta": {
          "title": "品牌管理",
          "icon": "brand",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      }
    ]
  },
  {
    "path": "/oms",
    "component": "Layout",
    "redirect": "/oms/order",
    'name': 'oms',
    "meta": {
      "title": "订单管理",
      "icon": "shopping",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "order",
        "component": "oms/order/index",
        "name": "order",
        "meta": {
          "title": "订单列表",
          "icon": "order",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      }
    ]
  },
  {
    "path": "/ums",
    "component": "Layout",
    "redirect": "/ums/member",
    'name': '',
    "meta": {
      "title": "会员管理",
      "icon": "user",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "member",
        "component": "ums/member/index",
        "name": "member",
        "meta": {
          "title": "会员列表",
          "icon": "peoples",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      }
    ]
  },
  {
    "path": "/sms",
    "component": "Layout",
    "meta": {
      "title": "营销管理",
      "icon": "number",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "advert",
        "component": "sms/advert/index",
        "name": "advert",
        "meta": {
          "title": "广告列表",
          "icon": "advert",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      },
      {
        "path": "coupon",
        "component": "sms/coupon/index",
        "name": "coupon",
        "meta": {
          "title": "优惠券列表",
          "icon": "coupon",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      }
    ]
  },
  {
    "path": "/multi-level-menu",
    "component": "Layout",
    "redirect": "/nested/level1/level2",
    'name': '',
    "meta": {
      "title": "多级菜单",
      "icon": "nested",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "nested_level1_index",
        "component": "nested/level1/index",
        "redirect": "/nested/level1/level2",
        'name': '',
        "meta": {
          "title": "菜单一级",
          "icon": "",
          "hidden": false,
          "alwaysShow": true,
          "roles": ["ADMIN"],
          "keepAlive": true
        },
        "children": [
          {
            "path": "nested_level1_level2_index",
            "component": "nested/level1/level2/index",
            "redirect": "/nested/level1/level2/level3",
            'name': '',
            "meta": {
              "title": "菜单二级",
              "icon": "",
              "hidden": false,
              "alwaysShow": true,
              "roles": ["ADMIN"],
              "keepAlive": true
            },
            "children": [
              {
                "path": "nested_level1_level2_level3_index1",
                "component": "nested/level1/level2/level3/index1",
                "name": "nested_level1_level2_level3_index1",
                "meta": {
                  "title": "菜单三级-1",
                  "icon": "",
                  "hidden": false,
                  "alwaysShow": false,
                  "roles": ["ADMIN"],
                  "keepAlive": true
                }
              },
              {
                "path": "nested_level1_level2_level3_index2",
                "component": "nested/level1/level2/level3/index2",
                "name": "nested_level1_level2_level3_index2",
                "meta": {
                  "title": "菜单三级-2",
                  "icon": "",
                  "hidden": false,
                  "alwaysShow": false,
                  "roles": ["ADMIN"],
                  "keepAlive": true
                }
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "path": "/external-link",
    "component": "Layout",
    "redirect": "noredirect",
    'name': '',
    "meta": {
      "title": "外部链接",
      "icon": "link",
      "hidden": false,
      "alwaysShow": true,
      "roles": ["ADMIN"],
      "keepAlive": true
    },
    "children": [
      {
        "path": "https://www.cnblogs.com/haoxianrui/",
        'name': '',
        "meta": {
          "title": "document",
          "icon": "link",
          "hidden": false,
          "alwaysShow": false,
          "roles": ["ADMIN"],
          "keepAlive": true
        }
      }
    ]
  }
]
